package com.ursu.server.guice;

import com.gwtplatform.dispatch.server.guice.HandlerModule;
import com.ursu.server.handler.LoginActionHandler;
import com.ursu.shared.actions.Login;
import com.ursu.shared.actions.CreateUser;
import com.ursu.server.handler.CreateUserActionHandler;
import com.ursu.shared.actions.Logout;
import com.ursu.server.handler.LogoutActionHandler;

public class ServerModule extends HandlerModule {

	@Override
	protected void configureHandlers() {

		bindHandler(Login.class, LoginActionHandler.class);

		bindHandler(CreateUser.class, CreateUserActionHandler.class);

		bindHandler(Logout.class, LogoutActionHandler.class);
	}
}
